package awk.designModel.strategy;

/**
 * Created by eason on 2017/12/19.
 * @author  lyh
 */
public class test {

    public static void main(String[] args) {
        Person  person = new Person(new Ride());
        person.handleByVehicle();


        Person  person1 = new Person(new Subway());
        person1.handleByVehicle();
    }
}
